<%@ Page Language="C#" AutoEventWireup="true" CodeFile="BorderLayoutSample.aspx.cs" Inherits="BorderLayoutSample" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc2" %>
<%@ Register Assembly="GridControl" Namespace="GridControl" TagPrefix="cc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
    <script>
        function Teste(){
            var t= $find("MyRegion");
            if(t){
                alert(t.get_split());
            }
            else{
                alert("NOK");
            }
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        &nbsp;<asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>
        <cc1:LayoutRegion CssClass="x-layout-inactive-content" ID="MyRegion" split="false" initialSize="25" runat="server">
          <ContentTemplate>
                North
          </ContentTemplate>
        </cc1:LayoutRegion>
        <cc1:LayoutRegion CssClass="x-layout-inactive-content" ID="CenterTest"   runat="server" >
         <ContentTemplate>
            Center
         </ContentTemplate>
         </cc1:LayoutRegion>
         
          <cc1:LayoutRegion CssClass="x-layout-inactive-content" ID="WestRegion" split="true"  initialSize="250" runat="server" >
         <ContentTemplate>
            West
         </ContentTemplate>
         </cc1:LayoutRegion>
        <cc1:LayoutManager ID="LayoutManager1" West="WestRegion" North="MyRegion" Center="CenterTest" runat="server"></cc1:LayoutManager>
      
       
    </div>
    </form>
</body>
</html>
